package org.se.reflect;

import java.io.Serializable;

/**
 * @author wangMaoXiong
 * @version 1.0
 * @date 2021/11/13 10:56
 */
public class Person implements Serializable {
    public Integer pId;
    public String pName;

    public Person() {
    }

    public Person(Integer pId, String pName) {
        this.pId = pId;
        this.pName = pName;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    @Override
    public String toString() {
        return "Person{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                '}';
    }
}
